Socket
Socket
Sign inDemoInstall

git-win

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git-win

Install Git for Windows by npm.


Version published
Weekly downloads
20K
decreased by-4.54%
Maintainers
1
Weekly downloads
 
Created
Source

git-win

NPM version AppVeyor codecov David

Install Git for Windows by npm.

Why

  • Show path of Git in your disk.
  • Install Git when you have not installed.
  • Silent installation Git.

Install

Install Git for Windows from mirror

npm i -g git-win --git4win_mirror=https://npm.taobao.org/mirrors/git-for-windows

Install Git for Windows for specify version whith flags to use by calling the installer

npm i -g git-win --git-version=2.18 -- /COMPONENTS="icons,icons\\quicklaunch,ext,ext\\shellhere,ext\\guihere,assoc,assoc_sh"

Usage

Get install path of Git:

var git = require("git-win");
console.log(git);

Keywords

FAQs

Package last updated on 30 Aug 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc